package com.tzbank.poc.dao;

import com.tzbank.poc.model.Trade;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

public interface TradeMapper {
    int insert(Trade record);

    int insertSelective(Trade record);

    Map queryTradeInfo(Trade trde);

    BigDecimal queryInAmount(Map map);

    BigDecimal queryOutAmount(Map map);

    List<Trade> queryTradeList(Map bodyMap);

    Trade selectByPrimaryKey(String tradeSeq);
}
